<html>
<head>
	<title>SISTEMA DE GERENCIAMENTO DE IMAGENS</title>

</head>
<%
Cookie[] cookies = request.getCookies();
String login = "";

if(cookies != null)
	for(Cookie c : cookies){
		if(c.getName().equals("login")){
			login = c.getValue();
		}
	}
%>
<body background="/trabalho/img/background.jpg" bgcolor="#035F5F">
<div align="center">
<br />
<br />
	<img src="/trabalho/img/LogoSGI.png" width="285" height="276" align="middle">
</div>
<center>
	<form action="validar" method="post">
        <br />
		<table border="0">
			<tr>
				<td align="center" valign="middle">
					<span style="font-size: x-large; font-weight: bold; color: #055F5F">LOGIN:</span>
				</td>
				<td>
					<input type="text" name="login" value="<%=login%>"/>
				</td>
			</tr>
			<tr>
				<td>
					<span style="font-size: x-large; font-weight: bold; color: #055F5F">SENHA:</span>
				</td>
				<td>
					<input type="password" name="senha"/>
				</td>
			</tr>
			<tr>
				<td class="style1">
					<input type="submit" value="OK" style="width: 71px"/>
				</td>
				<td class="style1">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="reset" value="Limpar" style="width: 82px"/>
				</td>
			</tr>
		</table>
	</form>
    </center>
</body>
</html>